/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Observer_meu_codigo;

/**
 *
 * @author Marcel
 */
public class Main {

    public static void main(String[] args) {

        ConcreteSubject s = new ConcreteSubject();
        Observer o1 = new ConcreteObserver(s);
        Observer o2 = new ConcreteObserver(s);
        Observer o3 = new ConcreteObserver(s);
        s.setPalavra("noobs");

    }
}
